package com.test.service;

import com.test.pojo.Food;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FoodService {
    List<Food> getAllFoodList();
    int updateFood(Food food);
    int deleteFood(@Param("foodId") int foodId);
    int addFood(Food food);
    List<Food> serachFood(@Param("foodName") String foodName);
    Food getFoodByID(@Param("foodId") int foodId);
}
